//--ZZProfIt--
/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="APMDTLM")]
		public class APMDTLMEntity: EntityObject
		{


#region Field
				private	string _ACC_CODE="";
				private	string _APM_ANAY_CODE01="";
				private	string _APM_ANAY_CODE02="";
				private	string _APM_ANAY_CODE03="";
				private	string _APM_ANAY_CODE04="";
				private	string _APM_ANAY_CODE05="";
				private	string _APM_ANAY_CODE06="";
				private	decimal _APM_CCY_AMT=0;
				private	decimal _APM_DET_AMT=0;
				private	string _APM_DT="";
				private	string _APM_NO="";
				private	string _APM_RMKS="";
				private	string _CCY_CODE="";
				private	string _DEPT_CODE="";
				private	Int32 _SERIAL_NO=0;
				private	string _SIGN_CODE="";
				private	decimal _XCHG_RATE=0;
				private	DateTime _ZADD_DATE=DateTime.MinValue;
				private	string _ZADD_USER="";
				private	DateTime _ZCHG_DATE=DateTime.MinValue;
				private	string _ZCHG_FLAG="";
				private	string _ZCHG_USER="";
				private	string _ZSECURITY_CODE1="";
				private	string _ZSECURITY_CODE2="";
				private	string _ZSECURITY_CODE3="";
				private	string _ZSECURITY_CODE4="";
				private	string _ZSECURITY_CODE5="";
				private	string _ZSECURITY_CODE6="";
				private	Int32 _ZSECURITY_RIGHT=0;
#endregion

#region Properties
				//<Summary>
				//APMDTLM,ACC_CODE
				//</Summary>
				public string ACC_CODE
				{
					get { return _ACC_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ACC_CODE)
							{
								_ACC_CODE = value; 
								this.PropertyChange("ACC_CODE");
							}
						}else{
							_ACC_CODE = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,APM_ANAY_CODE01
				//</Summary>
				public string APM_ANAY_CODE01
				{
					get { return _APM_ANAY_CODE01; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_APM_ANAY_CODE01)
							{
								_APM_ANAY_CODE01 = value; 
								this.PropertyChange("APM_ANAY_CODE01");
							}
						}else{
							_APM_ANAY_CODE01 = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,APM_ANAY_CODE02
				//</Summary>
				public string APM_ANAY_CODE02
				{
					get { return _APM_ANAY_CODE02; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_APM_ANAY_CODE02)
							{
								_APM_ANAY_CODE02 = value; 
								this.PropertyChange("APM_ANAY_CODE02");
							}
						}else{
							_APM_ANAY_CODE02 = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,APM_ANAY_CODE03
				//</Summary>
				public string APM_ANAY_CODE03
				{
					get { return _APM_ANAY_CODE03; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_APM_ANAY_CODE03)
							{
								_APM_ANAY_CODE03 = value; 
								this.PropertyChange("APM_ANAY_CODE03");
							}
						}else{
							_APM_ANAY_CODE03 = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,APM_ANAY_CODE04
				//</Summary>
				public string APM_ANAY_CODE04
				{
					get { return _APM_ANAY_CODE04; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_APM_ANAY_CODE04)
							{
								_APM_ANAY_CODE04 = value; 
								this.PropertyChange("APM_ANAY_CODE04");
							}
						}else{
							_APM_ANAY_CODE04 = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,APM_ANAY_CODE05
				//</Summary>
				public string APM_ANAY_CODE05
				{
					get { return _APM_ANAY_CODE05; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_APM_ANAY_CODE05)
							{
								_APM_ANAY_CODE05 = value; 
								this.PropertyChange("APM_ANAY_CODE05");
							}
						}else{
							_APM_ANAY_CODE05 = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,APM_ANAY_CODE06
				//</Summary>
				public string APM_ANAY_CODE06
				{
					get { return _APM_ANAY_CODE06; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_APM_ANAY_CODE06)
							{
								_APM_ANAY_CODE06 = value; 
								this.PropertyChange("APM_ANAY_CODE06");
							}
						}else{
							_APM_ANAY_CODE06 = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,APM_CCY_AMT
				//</Summary>
				public decimal APM_CCY_AMT
				{
					get { return _APM_CCY_AMT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_APM_CCY_AMT)
							{
								_APM_CCY_AMT = value; 
								this.PropertyChange("APM_CCY_AMT");
							}
						}else{
							_APM_CCY_AMT = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,APM_DET_AMT
				//</Summary>
				public decimal APM_DET_AMT
				{
					get { return _APM_DET_AMT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_APM_DET_AMT)
							{
								_APM_DET_AMT = value; 
								this.PropertyChange("APM_DET_AMT");
							}
						}else{
							_APM_DET_AMT = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,APM_DT
				//</Summary>
					[AttributeMapping(PrimaryKey=true)]
				public string APM_DT
				{
					get { return _APM_DT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_APM_DT)
							{
								_APM_DT = value; 
								this.PropertyChange("APM_DT");
							}
						}else{
							_APM_DT = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,APM_NO
				//</Summary>
				public string APM_NO
				{
					get { return _APM_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_APM_NO)
							{
								_APM_NO = value; 
								this.PropertyChange("APM_NO");
							}
						}else{
							_APM_NO = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,APM_RMKS
				//</Summary>
				public string APM_RMKS
				{
					get { return _APM_RMKS; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_APM_RMKS)
							{
								_APM_RMKS = value; 
								this.PropertyChange("APM_RMKS");
							}
						}else{
							_APM_RMKS = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,CCY_CODE
				//</Summary>
				public string CCY_CODE
				{
					get { return _CCY_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_CCY_CODE)
							{
								_CCY_CODE = value; 
								this.PropertyChange("CCY_CODE");
							}
						}else{
							_CCY_CODE = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,DEPT_CODE
				//</Summary>
				public string DEPT_CODE
				{
					get { return _DEPT_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_DEPT_CODE)
							{
								_DEPT_CODE = value; 
								this.PropertyChange("DEPT_CODE");
							}
						}else{
							_DEPT_CODE = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,SERIAL_NO
				//</Summary>
				public Int32 SERIAL_NO
				{
					get { return _SERIAL_NO; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_SERIAL_NO)
							{
								_SERIAL_NO = value; 
								this.PropertyChange("SERIAL_NO");
							}
						}else{
							_SERIAL_NO = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,SIGN_CODE
				//</Summary>
				public string SIGN_CODE
				{
					get { return _SIGN_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_SIGN_CODE)
							{
								_SIGN_CODE = value; 
								this.PropertyChange("SIGN_CODE");
							}
						}else{
							_SIGN_CODE = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,XCHG_RATE
				//</Summary>
				public decimal XCHG_RATE
				{
					get { return _XCHG_RATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_XCHG_RATE)
							{
								_XCHG_RATE = value; 
								this.PropertyChange("XCHG_RATE");
							}
						}else{
							_XCHG_RATE = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,ZADD_DATE
				//</Summary>
				public DateTime ZADD_DATE
				{
					get { return _ZADD_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_DATE)
							{
								_ZADD_DATE = value; 
								this.PropertyChange("ZADD_DATE");
							}
						}else{
							_ZADD_DATE = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,ZADD_USER
				//</Summary>
				public string ZADD_USER
				{
					get { return _ZADD_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_USER)
							{
								_ZADD_USER = value; 
								this.PropertyChange("ZADD_USER");
							}
						}else{
							_ZADD_USER = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,ZCHG_DATE
				//</Summary>
				public DateTime ZCHG_DATE
				{
					get { return _ZCHG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_DATE)
							{
								_ZCHG_DATE = value; 
								this.PropertyChange("ZCHG_DATE");
							}
						}else{
							_ZCHG_DATE = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,ZCHG_FLAG
				//</Summary>
				public string ZCHG_FLAG
				{
					get { return _ZCHG_FLAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_FLAG)
							{
								_ZCHG_FLAG = value; 
								this.PropertyChange("ZCHG_FLAG");
							}
						}else{
							_ZCHG_FLAG = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,ZCHG_USER
				//</Summary>
				public string ZCHG_USER
				{
					get { return _ZCHG_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_USER)
							{
								_ZCHG_USER = value; 
								this.PropertyChange("ZCHG_USER");
							}
						}else{
							_ZCHG_USER = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,ZSECURITY_CODE1
				//</Summary>
				public string ZSECURITY_CODE1
				{
					get { return _ZSECURITY_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE1)
							{
								_ZSECURITY_CODE1 = value; 
								this.PropertyChange("ZSECURITY_CODE1");
							}
						}else{
							_ZSECURITY_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,ZSECURITY_CODE2
				//</Summary>
				public string ZSECURITY_CODE2
				{
					get { return _ZSECURITY_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE2)
							{
								_ZSECURITY_CODE2 = value; 
								this.PropertyChange("ZSECURITY_CODE2");
							}
						}else{
							_ZSECURITY_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,ZSECURITY_CODE3
				//</Summary>
				public string ZSECURITY_CODE3
				{
					get { return _ZSECURITY_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE3)
							{
								_ZSECURITY_CODE3 = value; 
								this.PropertyChange("ZSECURITY_CODE3");
							}
						}else{
							_ZSECURITY_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,ZSECURITY_CODE4
				//</Summary>
				public string ZSECURITY_CODE4
				{
					get { return _ZSECURITY_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE4)
							{
								_ZSECURITY_CODE4 = value; 
								this.PropertyChange("ZSECURITY_CODE4");
							}
						}else{
							_ZSECURITY_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,ZSECURITY_CODE5
				//</Summary>
				public string ZSECURITY_CODE5
				{
					get { return _ZSECURITY_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE5)
							{
								_ZSECURITY_CODE5 = value; 
								this.PropertyChange("ZSECURITY_CODE5");
							}
						}else{
							_ZSECURITY_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,ZSECURITY_CODE6
				//</Summary>
				public string ZSECURITY_CODE6
				{
					get { return _ZSECURITY_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE6)
							{
								_ZSECURITY_CODE6 = value; 
								this.PropertyChange("ZSECURITY_CODE6");
							}
						}else{
							_ZSECURITY_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//APMDTLM,ZSECURITY_RIGHT
				//</Summary>
				public Int32 ZSECURITY_RIGHT
				{
					get { return _ZSECURITY_RIGHT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_RIGHT)
							{
								_ZSECURITY_RIGHT = value; 
								this.PropertyChange("ZSECURITY_RIGHT");
							}
						}else{
							_ZSECURITY_RIGHT = value; 
						}
					}
				}
#endregion
		}
}
